package com.efast.dmom.mgmt.service.mes.qm;

import java.util.List;
import java.util.Map;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.bean.mes.qm.QMCheckAreaBean;
import com.efast.dmom.mgmt.bean.mes.qm.QMCheckDefectCodeBean;
import com.efast.dmom.mgmt.bean.mes.qm.QMCheckDefectSaveBean;
import com.efast.dmom.mgmt.bean.mes.qm.QMCheckItemBean;
import com.efast.dmom.mgmt.bean.mes.qm.QMCheckPartBean;
import com.efast.dmom.mgmt.bean.mes.qm.QMRepairRecordSaveBean;

public interface IQMDefectService {

	public List<QMCheckAreaBean> getCheckAreaByStationId(Integer stationId);

	public List<QMCheckPartBean> getCheckPartsByAreaId(Integer areaId);

	public List<QMCheckItemBean> getCheckItemsByPartId(Integer partId);

	public List<QMCheckDefectCodeBean> getDefectCodeByItemId(Integer itemId);
	
	public void saveDefectRecord(List<QMCheckDefectSaveBean> list);
	
	public void deleteDefectByDefectId(Integer id);
	void RepairRecordStatus(Integer id);
	
	public ResultBean saveRepairRecord(QMRepairRecordSaveBean saveBean);
	
	public boolean showDefectSection(Integer stationId);
	
	ResultBean selectRowNumByLot(Map<String,Object> vin);
}
